<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <title><{$title}>-<{$config.title}></title>
        <link href="<{$config.weburl}>/templates/<{$config.temp}>/styles.css" rel="stylesheet" type="text/css" />
        <link href="<{$config.weburl}>/templates/<{$config.temp}>/cont.css" rel="stylesheet" type="text/css" />
        <script src="<{$config.weburl}>/script/jquery-1.4.2.min.js" type="text/javascript"></script>
        <script src="<{$config.weburl}>/script/News_Photos.js" type="text/javascript"></script>
        <script type="text/javascript">
            function AutoResizeImage(maxWidth,maxHeight,objImg){
                var img = new Image();
                img.src = objImg.src;
                var hRatio;
                var wRatio;
                var Ratio = 1;
                var w = img.width;
                var h = img.height;
                wRatio = maxWidth / w;
                hRatio = maxHeight / h;
                if (maxWidth ==0 && maxHeight==0){
                    Ratio = 1;
                }else if (maxWidth==0){//
                    if (hRatio<1) Ratio = hRatio;
                }else if (maxHeight==0){
                    if (wRatio<1) Ratio = wRatio;
                }else if (wRatio<1 || hRatio<1){
                    Ratio = (wRatio<=hRatio?wRatio:hRatio);
                }
                if (Ratio<1){
                    w = w * Ratio;
                    h = h * Ratio;
                }
                objImg.height = h;
                objImg.width = w;
            }
        </script>
    </head>
    <body class="color">
        <div id="header2">
            <div id="header-conter">
                <span class="white">
                    <script src="<{$config.weburl}>/login_statu.php"></script>
                </span>
                <span class="help"><a href="">网站导航</a></span>
                <span class="help"><a href="">帮助中心</a></span>
                <span class="help"><a href="<{$config.weburl}>/index.php">返回首页</a></span>
                <div style="clear: both;"></div>
            </div>
        </div> 
        <div class="main1">
            <div class="title"><{$title}></div>
            <div class="fenxiang">
               
                <span class="zhuanbo"><div class="bshare-custom"><a title="分享到QQ空间" class="bshare-qzone"></a><a title="分享到新浪微博" class="bshare-sinaminiblog"></a><a title="分享到人人网" class="bshare-renren"></a><a title="分享到开心网" class="bshare-kaixin001"></a><a title="分享到豆瓣" class="bshare-douban"></a><a title="更多平台" class="bshare-more bshare-more-icon"></a><span class="BSHARE_COUNT bshare-share-count">0</span></div><script type="text/javascript" charset="utf-8" src="http://static.bshare.cn/b/buttonLite.js#style=-1&amp;uuid=&amp;pophcol=2&amp;lang=zh"></script><script type="text/javascript" charset="utf-8" src="http://static.bshare.cn/b/bshareC0.js"></script></span>
                
            </div>
            <div class="play_left"><p class="bigbtnPrev"><span id="big_play_prev"></span></p></div>	 
            <div style="width:800px; overflow:hidden; margin-top:40px; _margin-top:40px;" id="bigpicarea">
                <{foreach from=$de item=list key=kval}>
                <div id="image_xixi-<{if $kval+1<10}>0<{/if}><{$kval+1}>" class="image">
                    <a target="_blank" href="<{$config.weburl}>/uploadfile/zsimg/size_small/<{$list.id}>.jpg">
                        <img onload="AutoResizeImage(800,398,this)" src="<{$config.weburl}>/uploadfile/zsimg/size_small/<{$list.id}>.jpg" />
                    </a>
                    <div class="word"><{$list.con}></div>
                </div>
                <{/foreach}>
            </div>
            <div class="play_left"><p class="bigbtnNext"><span id="big_play_next"></span></p></div>
            <div id="thumbs">
                <ul class="weizhi">
                    <li class="first"><img id="play_prev" src="templates/default/images/left.png" /></li>
                    <{foreach from=$de item=list key=kval}>
                    <li class="slideshowItem">
                        <a style="text-align: center;width: 106px;height: 60px;display: block;overflow: hidden;" id="thumb_xixi-<{if $kval+1<10}>0<{/if}><{$kval+1}>" href="#">
                            <img src="<{$config.weburl}>/uploadfile/zsimg/size_small/<{$list.id}>.jpg" onload="AutoResizeImage(0,60,this)" />
                        </a></li>
                    <{/foreach}>
                    <li class="last"><img id="play_next" src="templates/default/images/right.png" /></li>
                </ul>
                <div class="cl"></div>
            </div>
            <script language="javascript">
                var target = ["xixi-01","xixi-02","xixi-03","xixi-04","xixi-05","xixi-06","xixi-07"];
            </script>
            <div style="clear: both;"></div>
        </div>
        <div style="clear: both;"></div>
    </body>
</html>
